﻿
/*==========================================================
 * Copyright (C) 2003-2010 
 * FileName: FileValidType.cs
 * Author: colvinliu
 * Create Date: 2010-7-7 11:00:50
 * Desn:
 *   
 * ModifyHistory:
 * Action:    
 * Author:     
 * Date:     
 * Desn:   
 * Method:   
 * 
 * =========================================================
 */

namespace Job.Core
{
    /// <summary>
    /// 
    /// </summary>
    public enum FileValidType
    {
        /// <summary>
        /// 成功
        /// </summary>
        Ok,
        /// <summary>
        /// 文件流为空
        /// </summary>
        StreamIsNull,
        /// <summary>
        /// 文件大小不匹配
        /// </summary>
        SizeOverflow,
        /// <summary>
        /// ConentType Mime 不匹配
        /// </summary>
        ContentTypeNotMatch,
        /// <summary>
        /// 文件扩展名不匹配
        /// </summary>
        ExtensionNameNotMatch,

        /// <summary>
        /// 未知
        /// </summary>
        UnKnow = 999
    }
}
